package com.example.xadmin.controller;


import com.example.xadmin.dao.SysRoleMapper;
import com.example.xadmin.service.SysRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author Administrator
 * @since 2020-04-05
 */
@RestController
@RequestMapping("/sys-role-user")
public class SysRoleUserController {

    @Autowired
    private SysRoleService mapper;

    @RequestMapping
    public Object list(){
        return mapper.list();
    }


}

